import java.util.Calendar;
//7：学士后月考是每月的第一个周六，输出今年的月考时间
public class Work {
    public static void main(String[] args) {
        Calendar a = Calendar.getInstance();
        a.set(2022, 0, 0);
        int count = 0;
        while (count < 12) {
            for (int i = 0; i < 7; i++) {
                a.add(Calendar.DATE, 1);
                if (a.get(Calendar.DAY_OF_WEEK) == 7) {
                    break;
                }
            }
            System.out.println((a.get(Calendar.MONTH) + 1) + "月" + a.get(Calendar.DATE) + "日");
            a.set(Calendar.DATE, 1);
            a.add(Calendar.MONTH, 1);
            count++;
        }
    }
}